package com.yc.jpyy.twoinsurance.dao;

import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;

import com.yc.jpyy.base.dao.BaseDao;
public interface TwoInsuranceDao extends BaseDao {
	
	int addTwoInsurance(Map<String, Object> paramsMap)throws DataAccessException;	
	
	int addTwoInsuranceItem(List<Map<String,Object>> TwoInsuranceItemList)throws DataAccessException;
	
	List<Map<String,Object>> selectTwoInsuranceByPage(Map<String, Object> paramsMap)throws DataAccessException;
	
	List<Map<String,Object>> getTwoInsuranceItems(Map<String, Object> paramsMap)throws DataAccessException;
	
	int selectTwoInsuranceCount(Map<String, Object> paramsMap)throws DataAccessException;	
	
	int updateTwoInsurance(Map<String, Object> paramsMap)throws DataAccessException;
	
	int updateTwoInsuranceItem(List<Map<String,Object>> paramsMap)throws DataAccessException;
     
    int delTwoInsurance(Map<String, Object> paramsMap)throws DataAccessException;
    
    int delTwoInsuranceItem(Map<String, Object> paramsMap)throws DataAccessException;
    
    int isOnTwoInsurancesName(Map<String, Object> paramsMap)throws DataAccessException;
    
    List<Map<String,Object>> selectTwoInsuranceItemByID(Map<String, Object> paramsMap)throws DataAccessException;

}
